//TIP 要<b>运行</b>代码，请按 <shortcut actionId="Run"/> 或
// 点击装订区域中的 <icon src="AllIcons.Actions.Execute"/> 图标。
public class Main {
    public static void main(String[] args) {
        //TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
        // to see how IntelliJ IDEA suggests fixing it.
        System.out.println("开始建造者模式测试!");

        CarDirector director = new CarDirector(new CarBuilderBenchi());

        ProductCar computer = director.constructComputer();

        System.out.println(computer.toString());
    }
}